<template>
	<view>
		<Sheader :title="'上门服务'"/>
		<view class="content">
			<u-image width="180rpx" class="logo" height="180rpx" :src="src"></u-image>
			<view class="title">打开手机师傅就在你身边</view>
			<view class="tip">
				找人 · 找车 · 找房 · 找司机
			</view>
		</view>
		<view class="bottom">
			<view class="bottom-left">
				<view class="bottom-line">
					我有技术 · 你有需求
				</view>
				<view class="bottom-line">
					上门服务联通你 · 我 · 他
				</view>
			</view>
			<view class="bottom-right" >
				
			</view>
		</view>
	</view>
</template>

<script>
	import Sheader from '@/components/Sheader/index.vue'
	import logo from '@/static/logo.png'
	export default {
		data() {
			return {
				src: logo,
				time: null,
				timeNum: 3
			}
		},
		components: {
			Sheader
		},
		async onLoad() {
			// console.log(this.$utils, 111)
			// const res = await this.$http.request('/user/login', {
			// 	loginName: '510922199512117156',
			// 	passWord: '123123'
			// }, 'post', true)
			// if (res.success) {
			// 	uni.setStorageSync('fw_token', res.data.data.token)
			// }
			// console.log(res.data.token, 333)
		},
		onUnload() {
		},
		methods: {
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		background: #2979FF;
		padding-top: 90rpx;
		height: 100vh;
	
	}

	.logo {
		margin-top: 160rpx;
	}
	.title {
		font-family: YouSheBiaoTiHei;
		margin: 32rpx 0;
		font-size: 48rpx;
		font-weight: 800;
		line-height: 48rpx;
		color: #FFFFFF;
		font-style: oblique;
	}
	.tip {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 20rpx;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: 500;
		line-height: 24rpx;
		color: #ECF5FF;
		opacity: 0.9;
	}
	
	.bottom {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 40rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		color: #fff;
		opacity: 0.5;
	}
	
	.bottom-left {
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		line-height: 50rpx;
		color: #FFFFFF;
		opacity: 0.5;
	}
	.bottom-right {
		padding: 20rpx 46rpx;
		background-color: rgba(255,255,255,0.2);
		border-radius: 100rpx;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: 400;
		line-height: 44rpx;
		color: #FFFFFF;
		opacity: 1;		
	}
	.text {
		margin-left: 4rpx;
		font-size: 22rpx;
	}
</style>
